<?php

namespace models\Exception\Business;

use Exception;


class AnnounceException extends Exception {
    const ANNOUNCE_IS_NOT_EXISTS = '系统消息不存在';

    const ANNOUNCE_IS_NOT_EXISTS_NO = '400';

    const ANNOUNCE_CREATE_FAILURE = '系统消息创建失败';

    const ANNOUNCE_CREATE_FAILURE_NO = '422';

    const ANNOUNCE_EDIT_FAILURE = '系统消息编辑失败';

    const ANNOUNCE_EDIT_FAILURE_NO = '422';

    const ANNOUNCE_ID_IS_EMPTY = '系统消息编号不能为空';

    const ANNOUNCE_ID_IS_EMPTY_NO = '400';

    const ANNOUNCE_DELETE_SUCCESS = "消息删除成功";

}
